<template lang="html">
  <div class="bestmanbox">
    <menu-bar :menulist="munulist" routename="bestmanbox"></menu-bar>
    <list :index="$route.params.menuindex"></list>
  </div>
</template>

<script>
import MenuBar from 'components/MenuBar'
import Constant from 'common/constant'
import List from 'components/greatman/List'

export default {
  computed: {
    munulist () {
      let list = [
        {
          icon: 'icon-huoyueniuren',
          text: '活跃牛人',
          path:'livelylist'
        },
        {
          icon: 'icon-zongshouyi',
          text: '收益牛人',
          path:'bestprofitlist'
        },
        {
          icon: 'icon-renqiniuren',
          text: '人气牛人',
          path:'popularlist'
        },
        {
          icon: 'icon-bisainiuren',
          text: '比赛牛人',
          path:'gameexcellentlist'
        }
      ]
      return list
    }
  },
  components: {
    MenuBar,
    List
  },
  created(){
//  this.$nextTick(function() {
//    this.$store.dispatch('setGuide',{guideType:Constant.tutorial.ROCKMAN_ARROW});
//  })
  }
}
</script>

<style lang="css">
</style>
